﻿namespace RulesEngine
{
    public class RuleSetResult
    {
        public bool Result { get; set; }

        public List<RuleSetResultGroupMatch> MatchingGroups { get; set; }

        public RuleSetResult()
        {
            //this.MatchedGroups = new List<string>();
            MatchingGroups = new List<RuleSetResultGroupMatch>();
            Result = false;
        }
    }

    public class RuleSetResultGroupMatch
    {
        public string Name { get; set; }

        //public Func<object> GetResult { get; set; }
        public object ResultObject { get; set; }
    }
}